from fastapi import APIRouter, UploadFile

router = APIRouter()

@router.post("/generate")
async def generate_poster(
    template: str,
    content_file: UploadFile
):
    """示例海报生成接口"""
    return {
        "template": template,
        "filename": content_file.filename,
        "message": "Processing started"
    }